package com.jiawa.train.business.service;

import com.jiawa.train.business.domain.po.TrainSeat;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.req.TrainSeatQueryReq;
import com.jiawa.train.business.req.TrainSeatSaveReq;
import com.jiawa.train.business.resp.TrainSeatQueryResp;
import com.jiawa.train.common.resp.PageResp;

/**
 * <p>
 * 座位 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface ITrainSeatService extends IService<TrainSeat> {

    void saveTrainSeat(TrainSeatSaveReq req);

    PageResp<TrainSeatQueryResp> queryList(TrainSeatQueryReq req);

    default void delete(Long id) {

    }

    void genTrainSeat(String trainCode);
}
